package com.codingfuture.erp_system.mapper;

import com.codingfuture.erp_system.dto.UserRoleDto;
import com.codingfuture.erp_system.entity.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserRoleMapper {
    List<Emp> findByAll();

    List<UserRoleDto> readEmpRolesById(Integer id);

    List<UserRoleDto> readEmpRolesByAll();


    int insert(int id, Integer integer);


    int deleteById(int id);
}
